package com.rrx.model;

import java.util.Date;

public class Board {
    private int id;//编号
    private Date boardtime;//公告时间
    private String boardcontent;//公告内容
    private Date showtime;//显示时间
    private Date finishtimel;//结束时间
    private int adminid;//管理员ID
    private Date addtime;//添加时间

    public Board() { }

    public Board(int id, Date boardtime, String boardcontent, Date showtime, Date finishtimel, int adminid, Date addtime) {
        this.id = id;
        this.boardtime = boardtime;
        this.boardcontent = boardcontent;
        this.showtime = showtime;
        this.finishtimel = finishtimel;
        this.adminid = adminid;
        this.addtime = addtime;
    }

    public int getId() { return id; }
    public void setId(int id) { this.id = id; }
    public Date getBoardtime() { return boardtime; }
    public void setBoardtime(Date boardtime) { this.boardtime = boardtime; }
    public String getBoardcontent() { return boardcontent; }
    public void setBoardcontent(String boardcontent) { this.boardcontent = boardcontent; }
    public Date getShowtime() { return showtime; }
    public void setShowtime(Date showtime) { this.showtime = showtime; }
    public Date getFinishtimel() { return finishtimel; }
    public void setFinishtimel(Date finishtimel) { this.finishtimel = finishtimel; }
    public int getAdminid() { return adminid; }
    public void setAdminid(int adminid) { this.adminid = adminid; }
    public Date getAddtime() { return addtime; }
    public void setAddtime(Date addtime) { this.addtime = addtime; }
}
